﻿   
using System;
using System.Linq;
using System.Text;

using System.ComponentModel.DataAnnotations;
  
 namespace Oliving.Edge.Model.Dto.XLT
{
    ///<summary>
    ///设备表
    ///</summary> 
    
    [Serializable]
    public class Base_EquipmentPageDto 
    {
        public Base_EquipmentPageDto()
        {
        }
           
                            /// <summary> 
                            /// Desc:编号 
                            /// Default: 
                            /// Nullable:False 
                            /// </summary> 
                            
                            public string EquipmentId { get; set; } 
    
                            /// <summary> 
                            /// Desc:项目ID 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(50, MinimumLength = 1, ErrorMessage = "项目ID不能为空,内存长度超出 范围")]
                            public string ProjectId { get; set; } 
    
                            /// <summary> 
                            /// Desc:二维码 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [Required(ErrorMessage = "二维码不能为空")]
                            public string QRCode { get; set; } 
    
                            /// <summary> 
                            /// Desc:设备类型ID 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(50, MinimumLength = 1, ErrorMessage = "设备类型ID不能为空,内存长度超出 范围")]
                            public string CategoryId { get; set; } 
    
                            /// <summary> 
                            /// Desc:设备名称 
                            /// Default:((0)) 
                            /// Nullable:False 
                            /// </summary> 
                            
                            public string EquipmenName { get; set; } 
    
                            /// <summary> 
                            /// Desc:设备编号 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(50, MinimumLength = 1, ErrorMessage = "设备编号不能为空,内存长度超出 范围")]
                            public string EquipmenCode { get; set; } 
    
                            /// <summary> 
                            /// Desc:设备型号 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(50, MinimumLength = 1, ErrorMessage = "设备型号不能为空,内存长度超出 范围")]
                            public string Model { get; set; } 
    
                            /// <summary> 
                            /// Desc:机房 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(200, MinimumLength = 1, ErrorMessage = "机房不能为空,内存长度超出 范围")]
                            public string MachineRoom { get; set; } 
    
                            /// <summary> 
                            /// Desc:安装位置 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(200, MinimumLength = 1, ErrorMessage = "安装位置不能为空,内存长度超出 范围")]
                            public string EQAddress { get; set; } 
    
                            /// <summary> 
                            /// Desc:厂家 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(50, MinimumLength = 1, ErrorMessage = "厂家不能为空,内存长度超出 范围")]
                            public string Factory { get; set; } 
    
                            /// <summary> 
                            /// Desc:出厂日期 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(20, MinimumLength = 1, ErrorMessage = "出厂日期不能为空,内存长度超出 范围")]
                            public string FactoryDate { get; set; } 
    
                            /// <summary> 
                            /// Desc:厂家电话 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(20, MinimumLength = 1, ErrorMessage = "厂家电话不能为空,内存长度超出 范围")]
                            public string FactoryTel { get; set; } 
    
                            /// <summary> 
                            /// Desc:负责人ID 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(50, MinimumLength = 1, ErrorMessage = "负责人ID不能为空,内存长度超出 范围")]
                            public string ManageUserID { get; set; } 
    
                            /// <summary> 
                            /// Desc:表单ID 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(50, MinimumLength = 1, ErrorMessage = "表单ID不能为空,内存长度超出 范围")]
                            public string FromId { get; set; } 
    
                            /// <summary> 
                            /// Desc:用途 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(400, MinimumLength = 1, ErrorMessage = "用途不能为空,内存长度超出 范围")]
                            public string AboutUsage { get; set; } 
    
                            /// <summary> 
                            /// Desc:保养内容 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(8000, MinimumLength = 1, ErrorMessage = "保养内容不能为空,内存长度超出 范围")]
                            public string MaintenanceContents { get; set; } 
    
                            /// <summary> 
                            /// Desc:备注 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(8000, MinimumLength = 1, ErrorMessage = "备注不能为空,内存长度超出 范围")]
                            public string Remarks { get; set; } 
    
                            /// <summary> 
                            /// Desc:软删除 0未删除，1 已删除 
                            /// Default:((0)) 
                            /// Nullable:False 
                            /// </summary> 
                            
                            public int DeleteMark { get; set; } 
    
                            /// <summary> 
                            /// Desc:排序 排序 
                            /// Default:((100)) 
                            /// Nullable:False 
                            /// </summary> 
                            
                            public int SortCode { get; set; } 
    
                            /// <summary> 
                            /// Desc:是否启用 0未启用，1启用 
                            /// Default:((1)) 
                            /// Nullable:False 
                            /// </summary> 
                            
                            public int Enabled { get; set; } 
    
                            /// <summary> 
                            /// Desc:填报时间 创建时间 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            
                            public DateTime? CreateDate { get; set; } 
    
                            /// <summary> 
                            /// Desc:填报用户ID 创建的用户ID 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(50, MinimumLength = 1, ErrorMessage = "填报用户ID 创建的用户ID不能为空,内存长度超出 范围")]
                            public string CreateUserID { get; set; } 
    
                            /// <summary> 
                            /// Desc:创建的用户名称 创建的用户名称 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(50, MinimumLength = 1, ErrorMessage = "创建的用户名称 创建的用户名称不能为空,内存长度超出 范围")]
                            public string CreateUserName { get; set; } 
    
                            /// <summary> 
                            /// Desc:最后一次修改时间 修改日期 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            
                            public DateTime? ModifyDate { get; set; } 
    
                            /// <summary> 
                            /// Desc:修改用户编号 修改用户编号 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(50, MinimumLength = 1, ErrorMessage = "修改用户编号 修改用户编号不能为空,内存长度超出 范围")]
                            public string ModifyUserId { get; set; } 
    
                            /// <summary> 
                            /// Desc:修改的用户姓名 修改的用户姓名 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(50, MinimumLength = 1, ErrorMessage = "修改的用户姓名 修改的用户姓名不能为空,内存长度超出 范围")]
                            public string ModifyUserName { get; set; } 
 
    }

}
